home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / 3DDEMO.ZIP / 3D / DOCS / ENGINE.TXT next >
Encoding:
Text File  |  1996-07-23  |  1.8 KB  |  49 lines

  1.  
  2. My demo/engine is broken up into various modules that you could include
  3. in your applications. These are
  4.   
  5.   Mesh.cpp - Holds all 3d routines. Including the Light and Camera class.
  6.   
  7.   Input.cpp - Holds the keyboard routines.
  8.   
  9.   File.cpp - Holds functions to load in .ASC, .GEM, .GEO mesh files.
  10.   
  11.   Timer.cpp - Quick and dirty timer routines.
  12.   
  13.   Video.cpp - Holds functions that manipulate the video and load in 
  14.               palette files. 
  15.  
  16.   Bmapgfx.cpp - Holds functions that allow manipulating of bitmaps (scaling,
  17.                 rotating).
  18.         
  19.   Voxel.cpp - Holds functions that allow height-mapping.
  20.   
  21.   Voxellow.asm - Low level assembly routines.
  22.   
  23.   Polygfx.cpp - Holds all polygon rendering functions.
  24.   
  25.   Polylow.asm - Low level assembly routines.
  26.   
  27.   Each module (except for timer.cpp) has it's associated include file.
  28.  
  29.   To start using the library. Link in appropriate modules. For example
  30.   to write an application for 3d manipulation of polygons. Link in modules
  31.   Video.cpp, Input.cpp (keyboard controls), File.cpp, Polygfx.cpp, Polylow.asm
  32.   Look at programs 3ddemo.cpp and 3dcfg.cpp as examples.
  33.  
  34.   Note: The 3d morphing REQUIRES that the objects have the same number of
  35.   vertices. (I actually have an implementation that doesn't require this,
  36.   they can have different number of vertices, but the code isn't very
  37.   clean. I might decide to clean it up, maybe for version 2 :)
  38.     
  39.   I was going to write docs to explain all my various functions, but I'm
  40.   tired of working on this demo. If anyone needs help understanding any
  41.   functions drop me a line at...
  42.   
  43.                               k_burge@alcor.concordia.ca
  44.                         t_burge@alcor.concordia.ca
  45.                         burgess@sunset.cs.concordia.ca
  46.                     
  47.                         see yah...
  48.                                
  49.